package com.fable.ntzw_ga.service.impl;

import com.fable.ntzw_ga.entity.Guest;
import com.fable.ntzw_ga.mapper.GuestMapper;
import com.fable.ntzw_ga.service.IGuestService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author Created by gzh 2023-01-31 23:12:37
 */
@Service
public class GuestServiceImpl extends ServiceImpl<GuestMapper, Guest> implements IGuestService {

    @Resource
    GuestMapper guestMapper;

    @Override
    public List<Map<String, Object>> getAll(Guest guest) {
        return guestMapper.getList(guest);
    }
}
